source/hidapi/device.d(39,100): Error: `serial_number.ptr` cannot be used in `@safe` code, use `&serial_number[0]` instead source/hidapi/device.d(51,55): Error: `path.ptr` cannot be used in `@safe` code, use `&path[0]` instead source/hidapi/device.d(64,27): Error: `buf.ptr` cannot be used in `@safe` code, use `&buf[0]` instead source/hidapi/device.d(88,40): Error: `buf.ptr` cannot be used in `@safe` code, use `&buf[0]` instead source/hidapi/device.d(151,47): Error: `buf.ptr` cannot be used in `@safe` code, use `&buf[0]` instead source/hidapi/device.d(166,46): Error: `buf.ptr` cannot be used in `@safe` code, use `&buf[0]` instead source/hidapi/device.d(192,51): Error: `buf.ptr` cannot be used in `@safe` code, use `&buf[0]` instead source/hidapi/device.d(194,16): Error: cast from `dchar[]` to `string` not allowed in safe code source/hidapi/device.d(218,46): Error: `buf.ptr` cannot be used in `@safe` code, use `&buf[0]` instead source/hidapi/device.d(220,16): Error: cast from `dchar[]` to `string` not allowed in safe code source/hidapi/device.d(244,52): Error: `buf.ptr` cannot be used in `@safe` code, use `&buf[0]` instead source/hidapi/device.d(246,16): Error: cast from `dchar[]` to `string` not allowed in safe code source/hidapi/device.d(274,53): Error: `buf.ptr` cannot be used in `@safe` code, use `&buf[0]` instead source/hidapi/device.d(277,16): Error: cast from `dchar[]` to `string` not allowed in safe code /opt/dmd-safe/dmd/dmd-safe failed with exit code 1.